package com.ess.project.examine.record.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ess.framework.web.domain.BaseEntity;
import lombok.*;

import java.time.LocalDate;
import java.time.format.DateTimeFormatter;


/**
 * @Description: 考核记录
 * @Date: Created in 2:42 下午 2021/3/6
 * @Author: daihui
 * @Modified By:
 */


@Data
@TableName(value = "exam_record")
public class ExamineRecordEntity extends BaseEntity {

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer recordId;

    /**
     * 序号
     */
    @TableField(exist = false)
    @ExcelProperty(index = 0)
    private Integer serialNumber;

    /**
     * 姓名
     */
    @TableField(value = "exam_personnel")
    @ExcelProperty(index = 1)
    private String examPersonnel;

    /**
     * 出生年月
     */
    @TableField(value = "birthday")
    @ExcelProperty(index = 2)
    private String birthday;

    /**
     * 年龄
     */
    @TableField(value = "age")
    @ExcelProperty(index = 3)
    private Integer age;

    /**
     * 性别
     */
    @TableField(value = "gender")
    @ExcelProperty(index = 4)
    private String gender;

    /**
     * 身高
     */
    @TableField(value = "height")
    @ExcelProperty(index = 5)
    private Float height;

    /**
     * 体重
     */
    @TableField(value = "weight")
    @ExcelProperty(index = 6)
    private Float weight;


    /**
     * 体脂
     */
    @TableField(value = "body_fat")
    @ExcelProperty(index = 7)
    private Float bodyFat;

    /**
     * 3000米跑-分
     */
    @TableField(value = "three_km_minute")
    @ExcelProperty(index = 8)
    private Integer threeKmMinute;

    /**
     * 3000米跑-秒
     */
    @TableField(value = "three_km_second")
    @ExcelProperty(index = 9)
    private Integer threeKmSecond;

    /**
     * 1:引体向上 2:屈臂悬垂 3:俯卧撑
     */
    @TableField(value = "type_of_exam")
    @ExcelProperty(index = 10)
    private String typeOfExam;

    /**
     * 单杠引体向上(个) 单杠屈臂悬垂(秒) 俯卧撑（个）
     */
    @TableField(value = "exam_score")
    @ExcelProperty(index = 11)
    private Integer examScore;

    /**
     * 仰卧起坐(次)
     */
    @TableField(value = "sit_up")
    @ExcelProperty(index = 12)
    private Integer sitUp;

    /**
     * 30米×2蛇形跑(秒，取1位小数)
     */
    @TableField(value = "snake_run")
    @ExcelProperty(index = 13)
    private Float snakeRun;

    /**
     * 考核时间
     */
    @TableField(value = "exam_time")
    private String examTime;


    /**
     * 人员类别 一类人员/二类人员/三类人员
     */
    @TableField(value = "personnel_category")
    private String personnelCategory;

}
